﻿<Window x:Class="Copy4Backup.ProjectWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Project" Height="412.181" Width="300" Loaded="Window_Loaded" 
        Icon="/Copy4Backup;component/Copy4Backup.ico"
        WindowStartupLocation="CenterOwner">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition/>
            <RowDefinition Height="auto"/>
            <RowDefinition/>
            <RowDefinition Height="auto"/>
        </Grid.RowDefinitions>
        
        <TextBlock Grid.Row="0">Name</TextBlock>
        
        <TextBox Grid.Row="1" Name="textBoxName" Margin="5"></TextBox>
        
        <TextBlock Grid.Row="2">Source folders</TextBlock>
        
        <Grid Grid.Row="3">
            <Grid.ColumnDefinitions>
                <ColumnDefinition/>
                <ColumnDefinition Width="auto"/>
            </Grid.ColumnDefinitions>

            <ListBox Grid.Column="0" Name="listBoxSourceFolders" Margin="5" TabIndex="0" />
            
            <StackPanel Grid.Column="1" Orientation="Vertical">
                <Button Name="buttonSourceFolderAdd" Margin="5" Click="buttonSourceFolderAdd_Click" Width="50" TabIndex="1">Add</Button>
                <Button Name="buttonSourceFolderDelete" Margin="5" Click="buttonSourceFolderDelete_Click" Width="50" TabIndex="2">Delete</Button>
            </StackPanel>
        </Grid>
        
        <TextBlock Grid.Row="4">Destination folder</TextBlock>
        
        <Grid Grid.Row="5">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="auto"/>
            </Grid.ColumnDefinitions>
            <TextBox Grid.Column="0" Name="textBoxDestinationFolder" Margin="5" TabIndex="3">destination</TextBox>
            <Button Grid.Column="1" Name="buttonDestinationFolderBrowse" Margin="5" Click="buttonDestinationFolderBrowse_Click" Width="50" TabIndex="4">Browse</Button>
        </Grid>
            
        <TextBlock Grid.Row="6">Folder filters</TextBlock>
        
        <Grid Grid.Row="7">
            <Grid.ColumnDefinitions>
                <ColumnDefinition/>
                <ColumnDefinition Width="auto"/>
            </Grid.ColumnDefinitions>
            
            <ListBox Grid.Column="0" Name="listBoxFolderFilters" Margin="5" TabIndex="5" />
            
            <StackPanel Grid.Column="1" Orientation="Vertical">
                <Button Name="buttonFolderFilterAdd" Margin="5" Width="50" TabIndex="6" Click="buttonFolderFilterAdd_Click">Add</Button>
                <Button Name="buttonFolderFilterDelete" Margin="5" Width="50" TabIndex="7" Click="buttonFolderFilterDelete_Click">Delete</Button>
            </StackPanel>
        </Grid>
        
        <TextBlock Grid.Row="8">File filters</TextBlock>
        
        <Grid Grid.Row="9">
            <Grid.ColumnDefinitions>
                <ColumnDefinition/>
                <ColumnDefinition Width="auto"/>
            </Grid.ColumnDefinitions>
            
            <ListBox Grid.Column="0" Name="listBoxFileFilters"  Margin="5" TabIndex="8" />
            
            <StackPanel Grid.Column="1" Orientation="Vertical">
                <Button Name="buttonFileFilterAdd" Margin="5" Width="50" TabIndex="9" Click="buttonFileFilterAdd_Click">Add</Button>
                <Button Name="buttonFileFilterDelete" Margin="5" Width="50" TabIndex="10" Click="buttonFileFilterDelete_Click">Delete</Button>
            </StackPanel>
        </Grid>
        
        <StackPanel Grid.Row="10" HorizontalAlignment="Center"  Width="auto" Orientation="Horizontal">
            <Button  Margin="5" Name="buttonSave" Click="buttonSave_Click"  Width="50" TabIndex="11">_Save</Button>
            <Button  Margin="5" Name="buttonCancel" Click="buttonCancel_Click"  Width="50" TabIndex="12">_Cancel</Button>
        </StackPanel>
        
    </Grid>
</Window>
